﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls.Ribbon;
using AIPASoft.Interfaces;
using AIPASoft.Interfaces.BusinessDomain;

namespace TrademarkDomain
{
    public class TrademarkDomain : IBusinessDomain, IPlugin
    {

        public TrademarkDomain()
        {
            Name = "TrademarkDomain";
        }

        #region Implementation of IBusinessDomain

        public IApplicationManager ApplicationManager { get; set; }
        public IDomainManager DomainManager { get; set; }
        public object[] DomainRequires { get; set; }
        public IPlugin QueryInterface()
        {
            throw new NotImplementedException();
        }

        public string DomainName { get; set; }
        public Guid DomainID { get; set; }
        public RibbonTab DomainTab { get; set; }
        public UIElement ContentWindow { get; set; }
        public RibbonTab GetDomainTab()
        {
            //var ctlView = new RibbonTabControlView();
            //DomainTab = ctlView.DomainRibbonTab;
            return DomainTab;
        }

        public void StartInitialization()
        {
            throw new NotImplementedException();
        }

        public void FinishInitialization()
        {
            throw new NotImplementedException();
        }

        public void FreezeDomain()
        {
            throw new NotImplementedException();
        }

        public void UnFreezeDomain()
        {
            throw new NotImplementedException();
        }

        #endregion

        #region Implementation of IPlugin

        public string Name { get; set; }

        #endregion
    }
}











   #region Managers

        //public override object FinanceManager
        //{
        //    get;
        //    set;
        //}

        //public override object ClientManager
        //{
        //    get;
        //    set;
        //}

        //public override object SettingsManager
        //{
        //    get;
        //    set;
        //}

        //public override object SecurityManager
        //{
        //    get;
        //    set;
        //} 
        #endregion

   //const string Businessdomainname = "Trademark";
        //public override string BusinessDomainName
        //{
        //    get { return Businessdomainname; } 
        //}


        //System.Windows.UIElement _BusinessDomainUIControl;
        //public override object DomainUIControl
        //{
        //    get { return _BusinessDomainUIControl;}
        //}


        ////Microsoft.Windows.Controls.Ribbon.RibbonTab;
        //    object _BusinessDomainMenuControl;
        //public override object DomainMenuControl
        //{ 
        //    get { return _BusinessDomainMenuControl; } 
        //}